# !python3
#  get music from assignned website

import requests
from bs4 import BeautifulSoup
import lxml #html解析器


url='http://www.htqyy.com/choice'

myheader={'referer':'www.htqyy.com','user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36'}

try:

    r=requests.get(url,headers=myheader)
    html=r.text
    soup=BeautifulSoup(html,'lxml')
    t1=soup.find('h3').strip
    print(t1)
except Exception as e:
    print(e)